<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
<div id="content">
    <c:if test="${client.id > 0}">
        <div class="span2">
            <ul class="nav nav-list">
                <li><a href="product/list.do"><i class="icon-pencil"></i> Products</a></li>
                <li><a href="contact/list.do"><i class="icon-pencil"></i> Contacts</a></li>
                <li><a href="contract/list.do"><i class="icon-pencil"></i> Contracts</a></li>
                <li><a href="linkedclient/list.do"><i class="icon-pencil"></i> Linked&nbsp;clients</a></li>
                <li><a href="rating/list.do"><i class="icon-pencil"></i> Ratings</a></li>
                <li><a href="ubscontact/list.do"><i class="icon-pencil"></i> UBS contacts</a></li>
            </ul>
        </div>
    </c:if>
    <div class="span10">
        <form:form modelAttribute="client" method="POST" cssClass="form-horizontal">

            <div class="control-group"><label class="control-label">First Name:</label><form:input path="fname"/></div>
            <form:errors path="fname" cssClass="error" />
            <div class="control-group"><label class="control-label">Last Name:</label><form:input path="lname"/></div>
            <form:errors path="lname" cssClass="error"/>
            <div class="control-group"><input type="reset" value="Reset"/><input type="submit" value="Save"/></div>

        </form:form>
    </div>
</div>
</body>
</html>